Auto merge of #4209 - natboehm:add-index-flag, r=alexcrichton
authorbors <bors@rust-lang.org>
Sat, 24 Jun 2017 04:24:55 +0000 (04:24 +0000)
committerbors <bors@rust-lang.org>
Sat, 24 Jun 2017 04:24:55 +0000 (04:24 +0000)
Replace `cargo publish --host` with `cargo publish --index`

This change makes the command consistent with other versions with the same flag. `cargo publish --host` is still supported, currently marked as deprecated, or for reuse as mentioned in issue #4208.

Fixes #3797


Trivial merge